const Home = ()=>import("@/pages/Home")
const Login = ()=>import("@/pages/Login")
const Register = ()=>import("@/pages/Register")
const Search = ()=>import("@/pages/Search")

export default [
        {
            name:"home",
            path:"/home",
            component:Home,
        },
        {
            name:"login",
            path:"/login",
            component:Login,
            meta:{
                isFooterHide: true
            }
        },
        {
            name:"register",
            path:"/register",
            component:Register,
            meta:{
                isFooterHide: true
            }
        },
        {
            name:"search",
            path:"/search/:searchKey?",
            component:Search
        },
        {
            path:"/",
            redirect: "/home"
        },
        // {
        //     path:"/*",
        //     component:Notfound
        // }
    ]